package viroyal.com.base.net.req;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

/**
 * author : gaochao
 * date   : 2020/3/9
 * desc   :
 */
public class DeviceRegisterRequest implements Serializable {

  /**
   * 设备imei/UUID信息
   */
  @SerializedName("IMEI")
  public String IMEI;

  /**
   * 设备imsi
   */
  @SerializedName("IMSI")
  public String IMSI;

  /**
   * 设备类型
   */
  @SerializedName("categoryId")
  public int categoryId;

  /**
   * 设备名称
   */
  @SerializedName("deviceName")
  public String deviceName;

  /**
   * 设备开关机是否多时段  1:单时段;2:多时段
   */
  @SerializedName("isSingle")
  public int isSingle;

  public DeviceRegisterRequest(String IMEI, String IMSI, int categoryId, String deviceName, int isSingle) {
    this.IMEI = IMEI;
    this.IMSI = IMSI;
    this.categoryId = categoryId;
    this.deviceName = deviceName;
    this.isSingle = isSingle;
  }
}
